﻿<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-access="property" default-lazy="true" namespace="Cms.Domain" assembly="Cms.Domain">
  <class name="MasterTemplateContentLink" table="cmsMasterTemplateContent">
    <cache usage="read-write" />
    <id name="ID" type="System.Int32" unsaved-value="0">
      <column name="ID" />
      <generator class="identity" />
    </id>
    <property name="AreaID" type="System.String">
      <column name="AreaID" not-null="true" />
    </property>
    <many-to-one class="MasterTemplate" name="MasterTemplate">
      <column name="MasterTemplateID" not-null="true" />
    </many-to-one>
    <many-to-one class="Content" name="Content">
      <column name="ContentID" not-null="true" />
    </many-to-one>
  </class>
</hibernate-mapping>